Compare books: Fix non-optimal display of changes in some situations

Extra changes were being displayed because the patience diff algorithm
can return large replace blocks with identical leading lines. Instead of
showing them as diffs, show them as extra context.