[ONNX] Add torch.nan_to_num and torch.maximum/minimum symbolic (#72090)
* Add nan_to_num symbolic
* Restructure if statements
* Add torch.maximum and torch.minimum support
* Squash tests
* Add dependency on input dtype
* Add documentation
Pull Request resolved: https://github.com/pytorch/pytorch/pull/73103