“The CIA and the State Department advised President Jimmy Carter that they could work with Ayatollah Khomeini during the 1979 Iranian revolution.”