The Anglo-Irish Agreement was a “landmark” moment that would lead to the peace process, Ireland’s deputy premier has said.