[modular] `*_overrides` are lists of declarations
A declaration carries its own name, so the `{name: declaration}` dict repeated it and the two could disagree.
Co-authored-by: wangzihao <47708655+ZihaoW123@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>