This is the question addressed by Mrs Soumia Hadni in her PhD thesis entitled “Maintenance Impact on Safety”. On the one hand, look maintenance reduces the probability of major risk hazard for the process. On the other hand, the inspection/repair/replacement activity induces a specific risk related to the maintenance action . We believe it is worth to estimate both, at least in a rough model.
A summary is available here.