On-Chip Diagnosis of Generalized Delay Failures using Compact Fault Dictionaries