The Optimality of Decision Making During Motor Learning