Inflation moderated as economists forecasted last month, according to the Federal Reserve’s favored inflation metric, bringing welcome news for investors, home buyers and consumers alike looking for interest rate cuts.