The Canadian prime minister said he was still negotiating in advance of a 1 August trade deadline set by Donald Trump.