A flight from Dubai to Australia has taken off, becoming the first commercial plane to carry Australians home since the Middle East conflict began.