cut: indicate a buffer as modified only if actually something was deleted

This fixes https://savannah.gnu.org/bugs/?49962.
1 file changed