The president condemned critics who have called for Syrian refugees to be denied entry to the U.S. after the Paris attacks.