HIVE-8368 compactor is improperly writing delete records in base file (Alan Gates, reviewed by Eugene Koifman)