Meta sued: AI helped choose whom to lay off, but missed an important detail