Shunning refugees is no answer to terror