AI in Litigation: Weighing the Gains Against the Risks