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