[jit] Added special handling for prim::ListConstruct while checking for may alias inputs (#60775)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/60775
Test Plan: Imported from OSS
Reviewed By: mrshenli
Differential Revision: D29406101
Pulled By: navahgar
fbshipit-source-id: 9b8a4050167750610400637e7de48ffa8727051a