A man charged with joining the Islamic State (ISIS) as a sniper and firearms instructor originally came to the United States through the “Diversity Visa Lottery,” a program responsible for bringing more than half a million randomly chosen foreign nationals to the country in a single decade.