US allows $6bn transfer as part of Iran prisoner swap