Update NumTypeBits on Type to match the actual number of used bits.