remove redundant index check for index_select_out_cpu_dim1_ (#74093)
Summary:
For **index_select_out_cpu_dim1_**, there has a redundant idex check, **check_indexarray_range** has checked **the index>=0 and index < slect_dim**, we don't need re-check it at copy step.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74093
Reviewed By: ezyang
Differential Revision: D34823673
Pulled By: ngimel
fbshipit-source-id: c723b5bd6254c36588063da0175470268bffca5d
(cherry picked from commit 1791fa4e488cdf77f0d6850f364a74a7a92fedee)