US dollar maintains resilience against other currencies amid Middle East war in H1