Risk-Based Clustering for Near Misses Identification in Integrated Deterministic and Probabilistic Safety Analysis