US President Donald Trump and European Commission chief Jean-Claude Juncker agree on a plan to defuse the festering trade dispute between the two major economies.