Optimal Data Parallel Methods for Stochastic Dynamical Programming