Turkish court releases HDP deputy in terror case