Fix bug in exporting node with multiple outputs by scripting
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/20256
Differential Revision: D15422040
Pulled By: houseroad
fbshipit-source-id: 5de2a992d7d99a48905c39a1878eb0b3b68d6a3f