Remove insert mode undo workaround

It is no longer necessary, now that insert mode groups undo entries
using checkpoints instead of open-ended transactions