Scientists develop AI 'judge' that can parse and give verdicts on legal cases