The president defended the agreement, but it has been criticized as a return to the prewar status quo.