raft: remove unused compactThreshold

This speeds up the test considerably (3.5s -> 1.5s), and I don't see a strong reason that it needs to be such a high figure in the tests
@xiangli-cmu preference for a magic number here?