A compartment size-dependent selective threshold limits mutation accumulation in hierarchical tissues