John Tavares scored two goals, including the overtime winner, and William Nylander picked up four points as the Toronto Maple Leafs defeated the Anaheim Ducks in a chippy 5-4 win.