Add support for aten::slice to guard elimination. (#33311)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/33311
Differential Revision: D19911105
Pulled By: resistor
fbshipit-source-id: 402cfe5f2e03a62b78ed13157e1462cefd9eeafb