TORONTO — Canada's main stock index edged lower on Wednesday, weighed down by the energy sector as the price of oil fell, while U.S. stock markets were mixed, with the S&P 500 and Dow slipping from the records set the day before.