Lebanon and Israel agree via US mediation