Dólar fecha em alta nesta quarta, mas recua em junho