Add support for list insertion for mutation removal (#54271)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/54271
Test Plan:
python test/test_jit.py TestRemoveMutation.test_lists_insert
Imported from OSS
Reviewed By: bertmaher
Differential Revision: D27180031
fbshipit-source-id: ba4388b6688cf83caf70901934f4adacd22d8ca6