Objective simulation of failure in heterogeneous softening solids : the use of stochastic imperfections in localisation analysis