Trump’s obsession with immigration is making the US more vulnerable to terrorism