U.S. equities finished with gains and near the highs of the day, as investors sifted through the first look at February’s inflation picture.