Deal comes after months of US-brokered direct talks, but Israel continues to occupy Lebanese land.