[JIT SSA] Handle other Tuple outputs (#83222)
Commandeering this diff https://github.com/pytorch/pytorch/pull/77120
and fixed the issues with it.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/83222
Approved by: https://github.com/davidberard98