Wall Street ends higher; Nvidia surge offsets Nordstrom, Gap slide