Inflation moved closer to the Federal Reserve’s target in August, easing the way for future interest rate cuts, the Commerce Department reported Friday.