[caffe2] SliceOp axes indexing fixes. (#45432)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/45431
Pull Request resolved: https://github.com/pytorch/pytorch/pull/45432
Reviewed By: albanD
Differential Revision: D24132547
Pulled By: dzhulgakov
fbshipit-source-id: d67f7a92d806fb8ac8fc8f522b251d3a8fb83037