Add Distribution.reduce(axis) method.

Returns a new Distribution with specified axis removed.