While the ruling does not order Khalil's immediate release, it does undermine the US government's case against Khalil.