[trunk] Ensure that repeated PBXNativeTargets do not appear in the scheme ordering, as they might crop up again while iterating through dependencies