A federal appeals court in San Francisco said a ban on entry from six countries could go into effect for people with no ties to the United States.