AP Photographer cleared of all charges, allowed to leave country