On the exact minimization of saturated loss functions for robust regression and subspace estimation