US president says the deal will bring peace and new economic opportunities for the two rivals, but issues remain.