The B-52 bomber is leaving the Middle East after a record-breaking run against ISIS