[jit] allow slicing multiple dimensions with indicies (#45239)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45239
Test Plan: Imported from OSS
Reviewed By: gmagogsfm
Differential Revision: D23886919
Pulled By: Lilyjjo
fbshipit-source-id: d45c2a550fa8df9960cf2ab5da9d1ae0058a967a