commit: use clear_commit_marks_many() in remove_redundant()