[FX][EZ] Fix bug where copying node made non-unique name (#45311)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45311
Test Plan: Imported from OSS
Reviewed By: dzhulgakov
Differential Revision: D23917864
Pulled By: jamesr66a
fbshipit-source-id: 10d0a4017ffe160bce4ba0d830e035616bbded74