U.N.: A military defeat of the Islamic State in Syria and Iraq could scatter extremists around the globe.