Support variable arguments for refs.reshape and refs.view (#82651)
### Description
In PyTorch, it's possible to pass unpacked shape to Tensor.view/reshape, and when this call is translated to use refs it caused an error.
Now `refs.reshape` and `refs.view` support passing variable arguments for the shape.
### Testing
Added a simple test `test_reshape_view_method` that compares Tensor.reshape/view to torch._refs.reshape/view result.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82651
Approved by: https://github.com/ngimel