Added support for `expand` in LazyTensor shape inference (#77830)
Added support for `expand` in LazyTensor shape inference
Fixes #77831
---
**Blockers:**
- [x] https://github.com/pytorch/pytorch/issues/77880
- [x] https://github.com/pytorch/pytorch/issues/77882
Pull Request resolved: https://github.com/pytorch/pytorch/pull/77830
Approved by: https://github.com/Krovatkin