Diagnosability of repairable faults