The US Supreme Court’s ruling on Trump’s travel ban helps neither refugees nor national security