U.S. equities closed mostly lower on Wednesday, with IBM and oil prices pushing down the Dow Jones industrial average.