reset InvokeState for each basic block, now that LLVM can decapitate blocks in the middle