Pentagon agrees to close the Guantanamo prison and transfer prisoners to safe countries