Judge who froze first travel ban hands Trump a victory