[ONNX] Handle mixed mask, index input for index_put (#57604)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57604
Test Plan: Imported from OSS
Reviewed By: malfet
Differential Revision: D28393524
Pulled By: SplitInfinity
fbshipit-source-id: 6c0cd9db981a7e4ece2fdd375a814a13449e1ab0
Co-authored-by: David <jiafa@microsoft.com>