A late burst of buying erased some of the stock market's losses, leaving indexes mixed on Wall Street at the closing bel