Imran Khan’s conviction in the Iddat case marks a severe departure from both Sharia law and the precedents set by superior courts