Avoid segfault

Fix to bug in TypeWithDict::iaArray() that can cause segfaults under rare circumstances.   The segfault only showed up (so far) in the unit test of PhysicsTools/PatAlgos.
Please merge this request as soon as convenient.