[Inductor] Improve view/reshape on tensors with shape 0 (#101051)
Fixes failure 14k github models.
This is a follow up for #99671. There is another case we don't handle well, which inspired me to switch to ```fake_reindex``` to handle tensors with shape 0.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/101051
Approved by: https://github.com/ngimel