Learning Enhanced Diagnosis of Logic Circuit Failures