An early rebound for U.S. stocks petered out by the end of the day, leaving indexes close to flat