Outgoing immigration judge says he encountered ‘soul-crushing bureaucracy’