The dismissal of the case against Khan comes as a kind of relief for someone who has been incarcerated since August last year