luis lacalle , the new president of uruguay , implemented austerity demanded by the international monetary fund , worked out an agreement with the second -largest party and survived two general strikes by the biggest labor federation .