A scenario aggregation algorithm for the solution of stochastic dynamic minimax problems