Solving a block involves continously rehashing it,
i.e. any extra rehash calls before are not necessary and can be dropped.
The instances were identified by searching for all block solving calls via git grep "solve(" in ./test/functional/. From 95 instances of CBlock.solve() calls, 20 contained an unnecessary rehashing instruction before that are removed in this PR.