A Methodology for Compensating Errors Detected by Process-Intermittent Inspection