Fix `DistArray.var` with different sized localarrays (closes issue 435)