Eliminate the redundant textReplace edit.