Fix hiding of Vim's internal undo/redo messages

Patch from @wilywampa.

Fixes: https://github.com/tpope/vim-repeat/issues/27