Simplify the construction of a BitArray by removing the need to have a
shared_ptr.