Understanding and Mitigating Language Confusion in LLMs | Synapse