Fixes BitArray tests for max/min with Dim.

Also shelves stats changes for later, and simplifies Dim constructors.