US judge blocks Trump move rescinding immigrant programme