Quality-Aware Design of Repairable Processes