Robust learning of data anomalies with analytically-solvable entropic outlier sparsification