Party launches legal action after authorities take ex-PM to state hospital for check-up before returning him to jail.