There's an included CAL script (Process > Run CAL) called SiNGLE.CAL that does this - eliminates overlaps without lengthening notes to make them legato like LEGATO.CAL. But I found it had issues with short grace notes so I wrote my own some years ago using different logic.
I can't guarantee mine won't get tripped up by some unanticipated input, either, but if you PM me your e-mail address, I can send you a copy.