[emacs] Multiple cursor delete support

Fixes #2470
Again, prefer iterating backwards.