AI Legal Hallucinations: 7 Causes and How to Prevent Them