Constraint-Aware Learning Control