Change output node handling for typechecker to deal with tuples (#62582)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/62582
Test Plan: Imported from OSS
Reviewed By: jamesr66a
Differential Revision: D30050004
Pulled By: migeed-z
fbshipit-source-id: 9b81b10d24e1e8165cdc18c820ea314349b463cb