The decision will shape not only the NDP’s direction, but the balance of power in Ottawa at a moment when Canada’s two largest national parties are drawing closer together.