Fix issue where selected way could not be disconnected if the connection point occurred more than once in the way (close #6149)
Fix issue where selected way could not be disconnected if the connection point occurred more than once in the way (close #6149)

morray/iD,AndreasHae/iD,AndreasHae/iD,kartta-labs/iD,kartta-labs/iD,AndreasHae/iD,kartta-labs/iD,openstreetmap/iD,openstreetmap/iD,digidem/iD,morray/iD,openstreetmap/iD,digidem/iD