Trudeau resigns after nine years in power as Liberals force him out