MAINT: Remove duplicate ndims from ExponentialFamilyDistribution