Lazily initialize alias db in remove_mutation opt (#55949)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/55949
Test Plan: Imported from OSS
Reviewed By: bertmaher
Differential Revision: D27793881
fbshipit-source-id: eebde5b5142d8fecfee4756604d313b0da809882