Reducing the James–Stein Shrinkage Estimator for Automatically Grouping Heterogeneous Production Batches