This reverts commit ed66c0f14dcd17947ddd339094593de104615f12.
Revert "Clean up co-linear tracks after finishing routing"
This reverts commit 1a102f03c0a59cdac37cdaa740d845eb3c29730e.
More complex solution needed
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8526
This involved adding some extra infrastructure to be able
to handle the case where a track that is sitting in the
router's commit waiting to be added to the board actually
needs to be deleted instead.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8419
- Finalize transition to BOARD_COMMIT (removed all remaining uses of PICKED_ITEMS_LIST) and implicit view/ratsnest updates
- Simplified SELECTION class, it now can be directly added to a VIEW
- Removed unnecesary casts and templates
- Introduced C++11 features (range based for, lambdas) where they improve code readability
- Added non-undoable COMMITs, which can be used to propagate change notifications to interested listeners (e.g. ratsnest/view)