Optimistic Algorithms for Adaptive Estimation of the Average Treatment Effect