The move is a win for the ailing airline, whose shares are down more than 90%.