imm32: Fixes for comp string on character deletion and result commit.
I believe this fixes some bad behavior, and it includes one fix from !2698 (closed) to avoid duplicated entries (though doesn't supersedes that MR).
I believe this fixes some bad behavior, and it includes one fix from !2698 (closed) to avoid duplicated entries (though doesn't supersedes that MR).