Thai court under fire for former PM charge dismissal