Bolivia legislators agree to put draft constitution before voters