NBC: Judge blocks Trump bid to halt federal funding for sanctuary cities