pipeline: don't free BigState before we might dereference it