U.S. stocks ended the day with mixed results, as the Dow Jones finally broke its losing streak while the S&P 500 slipped.