Fix prims.div to return the correct dtype (#82949)
The documentation for prims.div says that it truncates integer inputs,
but it actually did `true_divide` for all Tensor inputs. This fixes it
to actually use truncation division for integers.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82949
Approved by: https://github.com/ngimel