Qatari-brokered deal secures release of 16 Lebanese security officers seized by Syrian group in exchange for 13 people.