Only remove actualy failed blocks from setBlockIndexValid
Merge pull request #4496

5734d4d Only remove actualy failed blocks from setBlockIndexValid (Pieter Wuille)