Change the way we do invokewithcapture.

This avoids a bunch of nested runloops and all the problems that come
with them. Re-working this, once a tweak is done in Rakudo, gets rid
of the couple of exit-time SEGVs in the md-nqp branch.