The directive followed a supreme court ruling that ended the career of the charismatic ex-president and front-runner in the October vote.