Stocks erase early gains, 10-year Treasury yields top 3%