The dollar weakens on reports of a US-Iran ceasefire deal, with oil prices falling and safe-haven demand waning.