Maximal variance reduction for stochastic propagators with applications to the static quark spectrum