Trump’s ban is almost certainly unconstitutional — but there’s more than one constitutional right involved