In plea bargain, Asaf Karpel convicted of breaking into colleague's home, attacking her partner with electric shocker, then attempting to inject him with deadly substance