The dollar jumped the most since early May, putting it on track for its first monthly gain this year, bolstered by a long-awaited trade deal between the US and the European Union.