All of Australia's 1,645 domestic airline pilots resign after the airlines threaten to sack them and sue them over a dispute.