Root Cause Identification for Collective Anomalies in Time Series given an Acyclic Summary Causal Graph with Loops