It is the country’s biggest and most dysfunctional airline, at war with its unions, losing money and protected by Ottawa. There may be only one way out.