The EraseForBlock branch in the txorphan harness could produce a block with 1000 transactions in it, each with potentially up to 200,000 inputs, resulting in way too many map lookups. This was producing inputs that were taking 2 seconds or longer per iteration, which is too long.
Fix by only adding transactions to the block up to the block weight limit. This matches production behavior, as EraseForBlock is only called on a newly connected block.