The PM’s departure follows criticism for his handling of allegations surrounding a Sikh leader’s murder on Canadian soil.