Differentiable and tolerant barrier states for improved exploration of safety-embedded differential dynamic programming with chance constraints