Dollar holds firm as Middle East hostilities lift oil