[JIT] move remove mutation to its own test file (#41502)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/41502
Test Plan: Imported from OSS
Reviewed By: Krovatkin
Differential Revision: D22629270
Pulled By: eellison
fbshipit-source-id: fcec6ae4ff8f108164539d67427ef3d72fa07494