Judge orders ICE chief to appear in court to explain why detainees have been denied due process