U.S. stocks finished mixed after giving up early gains, while the Nasdaq underperformed as Treasuries came under pressure to boost yields.