On the Robustness of Median Sampling in Noisy Evolutionary Optimization