fixed for loop for deleting items from map

The for loop previously looped over all but one items
to be processed
Properly remove intersection when last track is removed

An intersection will now remove the sole track when another
is deleted.

A dissolve method has been added which will remove all tracks.

New tests added to show that final tracks are removed properly.

Also my IDE likes to add spaces to tuples
Commented map remove track method