How the remaining three countries on the U.S. terrorism blacklist earned their spots