How AI can root out discrimination