The Fed’s preferred inflation gauge rose moderately in July, keeping the Fed on track to lower borrowing costs.