Consumer prices rose 8.7% from a year earlier, the slowest pace since March 2022.