No UK-Irish ‘hard border’, leaders pledge