A New York courtroom gave every detained immigrant a lawyer. The results were staggering.