Fix shape inference dim_type for Clip, Mean, Div (#65996)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/65996
Test Plan:
Facebook
```
buck build caffe2/caffe2/opt:bound_shape_inference_test && ./buck-out/gen/caffe2/caffe2/opt/bound_shape_inference_test --gtest_filter=*Clip*
```
```
buck build caffe2/caffe2/opt:bound_shape_inference_test && ./buck-out/gen/caffe2/caffe2/opt/bound_shape_inference_test --gtest_filter=*Div*
```
```
buck build caffe2/caffe2/opt:bound_shape_inference_test && ./buck-out/gen/caffe2/caffe2/opt/bound_shape_inference_test --gtest_filter=*Mean*
```
Reviewed By: yinghai
Differential Revision: D31121298
fbshipit-source-id: f366d8f4d4d0be159b62bfaafc42ca924c05e022