Artificial intelligence, discretion, and bureaucracy