[pytorch] Make behavior of SobolEngine consistent w/ other RNG functions (#36427)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/36427
Addresses https://github.com/pytorch/pytorch/issues/36341
Test Plan: unit tests
Reviewed By: ldworkin
Differential Revision: D20952703
fbshipit-source-id: 28055f4c4c0f8012c2d96e473b822fa455dd833c