The S&P 500 reached new highs after investors rallied behind a more benign inflation reading.