Make test_binary_shape_functions actually test the ops (#90566)
Because of the break, only operator.__mul__ was actually tested.
<!--
copilot:poem
-->
### <samp>🤖 Generated by Copilot at 0e6aaa1</samp>
> _`break` statement gone_
> _loop tests all shape functions_
> _symbolic winter_
Pull Request resolved: https://github.com/pytorch/pytorch/pull/90566
Approved by: https://github.com/huydhn, https://github.com/malfet