Add @kwmsmith's fix for DistArray.__del__ errors.

As discussed.  Addresses #415.