Clear undeletable error for each record deletion when bulk delete

If the error is not cleared, the next record may be cleared
incompletely by detecting the error. This may cause a problem that
inverted index has garbage. See the newly added test for the problem.