Channel-log improvement (better pruning)

When pruning old entries from a channel log, find a safe place to do it
where all the pruned entries have sequences less than all the remaining
ones.