[WIP] insert variable disposal instructions in the IR

This should help fix #578
We could, though I don't see a single other test that uses the random module.  Several use np.random to produce random arrays, and have a similar problem that they are not deterministic.  Maybe we want to add an instance of numpy.random.RandomState() to support.TestCase.