Hold on to AIG network foreign pointers longer when evaluating.
Force the garbage collector to view an AIG network as live as long
as the evaluation function is still around.  This may solve a memory
corruption bug.