(Reuters) - The S&P 500 and the Nasdaq were prodded higher by gains in consumer stocks, while investors played down fears of a looming U.S. government shutdown.