Year-over-year inflation reached its lowest level in more than three years in July, the latest sign that the worst price spike in four decades is fading and setting up the Federal Reserve for an interest rate cut in September.