Add robust and optimized DTensor distribution utilities for PyTorch backend (#23366)