clear redo history to keep history linear also for undoable commands