I think the only real solution might be simple. Simple but very difficult. Never assist evil. If people truly followed that, America and Israel would be nearly empty of people fleeing who could not in good conscience pay taxes to those regimes. But people rationalize, say they don't have a choice (even though they know they do have the capability to move). And thus evil wins. The only people who think clearly on this seem to me to be the Muslims.