MAINT: stats:  Use special.xlogy to compute entropy of discrete distributions.

This simplifies the code, and avoids spurious RuntimeWarnings that can occur
when a probability is 0.