Inflation slowed to 2.9% in July but remains higher than under Trump.