Judge who held DOJ lawyer in contempt blasts handling of immigration cases