[IR] Fix name clashes in Module move assignment (#245152)
The global variable, function, alias, and ifunc lists share one symbol
table, but move assignment cleared and spliced them one list at a time.
An incoming value named like a destination value in a list not cleared
yet was renamed, such as an incoming global variable @foo becoming
@foo.1 next to a destination function @foo. Clear all four lists before
splicing any.
Assisted-by: Claude Code (Claude Opus 5.5)