This issue occurs due to an incomplete deletion of edge node having version < NSX-T 2.5. The node is removed as a Transport Node but is not removed as a Fabric Node.
Note: Subsequent upgrades to version NSX-T 2.5 or above will be affected by these orphan edge nodes.