[composite compliance] backward: masked_select, combinations (#76794)
Reference : https://github.com/pytorch/pytorch/issues/69991
Pull Request resolved: https://github.com/pytorch/pytorch/pull/76794
Approved by: https://github.com/soulitzer, https://github.com/Lezcano