Freeland's dramatic resignation as finance minister set the stage for Prime Minister Justin Trudeau to step down