[structural binding][6/N] Replace std::tie with structural binding (#120353)
This PR follows https://github.com/pytorch/pytorch/pull/119774, it is a continued work to clean up std::tie.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/120353
Approved by: https://github.com/albanD