Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). FIRRTL: memory canonicalization does not remove unused ports or dead memories
The task
FIRRTL: memory canonicalization does not remove unused ports or dead memories
Part of henryen/OriGent-SFT-Data.