A probabilistic nonlocal model for crack initiation and propagation in heterogeneous brittle materials