A Modular Agent Architecture for Optimising Hypothesis confirmation cost in Network Diagnosis