US detainees to fly out of Iran in swap deal after $6 billio