raft: use different compactThreshold for tests

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
@jonboulle I do not think we are ever using `raft.compactThreshold`. So we can just remove that field.