Eliminate race condition in sendheaders.py test
Clear the last block announcement before mining new blocks.