Fixed ExtendChainWithAllMalleatedMempool to remove dependent TX

Removes TX's whose inputs are malleated in this block and are thus not
connectable to the main chain.