Uncertainty-Aware Optimal Treatment Selection for Clinical Time Series