Fix memory leak.

An extra reference is being held to DistArray's by register_blob.

This should be fixed at some point by using weak references or some
other form of indirection.
Merge pull request #64 from spartan-array/fix-memory-leak

Fix memory leak.