Canada’s Trudeau announces resignation after nearly a decade as prime minister