KAFKA-1641; Reset first dirty offset for compaction to earliest offset
if the checkpointed offset is invalid; reviewed by Joel Koshy