Divergence-aware training with automatic subgroup mitigation for breast tumor segmentation