It is on master now as Edit->Fix Lap Swim, the intended use has 2 steps:
1) via Edit SWIM tab add or remove lengths and correct length TYPE/DURATION/STROKES, there is no need to fix the accumulated Time and Distance (columns 1 and 2) since the fix tool will recompute these, pause lengths (Type=0) are used to mark start/end of laps.
2) run Edit->Fix Lap Swim, Pool Length parameter can be left to 0 if Pool Length was correctly configured and imported, otherwise you can specify the value here, all second-by-second samples will be recreated based on length-by-length info and laps marked using pause lengths, all metrics will be automatically recomputed.
it will be available in the NEXT development build.