I'll try to summarize more succinctly, and act less backseat programmer:

Make broken elements' new node more intelligent, based off the node increment value when available, or some portion of it, when it's not.

Consideration is provided for a few cases:

1) Continuous straight pipe in one direction.
2) Two straight runs meeting in the center.
3) A typical tee configuration.
4) 2 tees put together.
5) N-number connections placed together (e.g. for multiple nozzles projecting from a vessel).