[acc_ops] Move slice_tensor to consider single dim at a time (#5906)
Summary:
Pull Request resolved: https://github.com/pytorch/glow/pull/5906
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71883
Fixes slice_tensor retracing. Include fix for retrace coverage.
Missed in D33760455 (https://github.com/pytorch/pytorch/commit/66939e3b94fa033de57e5b7cfc3c106d8f736f81).
Test Plan: CI
Reviewed By: wushirong
Differential Revision: D33802222
fbshipit-source-id: 4e0e44ae4a4eb70b99d79f0cd582182031b87e25
(cherry picked from commit 98fd23cf7b93ad22667023eaa696ef7d89f96147)