Negotiators made changes to a agreement previously rejected by voters, and the nation’s president urged quick ratification