The flight was arranged and paid for by the State Department, officials said, as part of the evacuations of citizens stranded by attacks in the Middle East.