Bridging k-sum and CVaR optimization in MILP