raft: do not panic on out of date compaction