Qantas, Australia’s national carrier, apologized and said it would pay a fine and compensation to settle a suit brought by…