[PyTorch] Update expand_size API to match expand_inplace (#55246)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/55246
c10::MaybeOwned<Tensor> and no more unary tuples.
ghstack-source-id: 126170051
Test Plan: Existing CI
Reviewed By: ngimel
Differential Revision: D27523682
fbshipit-source-id: 2590993cfc62136e65fd9a791e4ab68b2c366556