The consumer price index rose last month at a 2.5% annual rate, easing from 2.9% in July to the slowest pace in more than three years, the Labor Department said Wednesday, all but ensuring that the Federal Reserve will trim borrowing costs next week.