Judge partially lifts Trump administration ban on refugees