[ONNX] Bool inputs to index_put updated symbolic (#46866)
Summary:
Cases with bool inputs to index_put nodes were handled for tracing purposes. This PR adds support for similar situations in scripting
Pull Request resolved: https://github.com/pytorch/pytorch/pull/46866
Reviewed By: malfet
Differential Revision: D24870818
Pulled By: bzinodev
fbshipit-source-id: 2d75ca6f5f4b79d8c5ace337633c5aed3bdc4be7