U.S. stocks end mixed in choppy trading