Applies heuristic rule to a delete operation on a document and returns resulting Delta.
document
Delta? apply(Delta document, int index, int length);