Leaked deal to end the trade war between US and Canada