Repairing Group-Level Errors for DNNs Using Weighted Regularization