Heavy fighting in southern Lebanon had threatened to unravel an interim peace agreement between the United States and Iran.