Judge orders prompt release of immigrant children from detention