Max Verstappen had a near-miss with a groundhog en route to victory in a chaotic Canadian Grand Prix.