Investors largely shrugged off a downgrade of the U.S.' credit rating in Monday trading, as stocks ended the day mostly flat.