MEMOIR: Lifelong Model Editing with Minimal Overwrite and Informed Retention for LLMs