U.S. equities finished higher in the wake of a consumer prices report that showed inflation cooled last month.