Fixed a logic error in the code that deletes outdated events in the CDERebaser. It was taking all events older the the global count of the baseline, but this is not adequate, and can leave events that are outdated hanging around, which can cause the consistency checks to fail.

Fixed this by going through all devices in the baseline, and removing any event with a revision number not newer than that in the baseline.