Revert "Make ones and zeros's ref accepts variadic size argument (#85117)"
This reverts commit 7e5616c9ff6347913d98627c60e39f72dce558e3.
Reverted https://github.com/pytorch/pytorch/pull/85117 on behalf of https://github.com/ZainRizvi due to Failed trunk