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
Just added a comment making it clear they're magic numbers.