U.S. stocks pare gains despite Tesla rally