A stochastic model for dislocation density evolution