Narendra Modi’s weakened third term forces Trudeau’s government to rethink its complicated relationship with India