Resilient Constrained Learning