Turkish spy chief's reappointment legal: Erdogan