A stochastic semismooth Newton method for nonconvex nonsmooth optimization