Only keep setBlockIndexValid entries that are possible improvements
Merge pull request #4497

714a3e6 Only keep setBlockIndexValid entries that are possible improvements (Pieter Wuille)