Donald Trump’s “Muslim ban” will be counterproductive to the goal of keeping America safe, as it will be the subject of terrorist recruitment and make it easier for people to side with extremists.