LegalEvolver: Optimizing Legal Query Retrieval for LLM Agents | HACKOBAR_