Judge blocks Trump administration from punishing 'sanctuary cities'