Dollar retreats from 2-month peak as Middle East conflict escalates