Reduce duplicate code in almost junction validation
Reduce duplicate code in almost junction validation

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