Stocks slipped on Wednesday to snap a four-day winning streak for the S&P 500.