Stocks slip on Wall Street, erasing weekly gains for S&P 500