The ex-general who lost Indonesia's presidential election to Joko Widodo mounted a legal challenge to the result Friday, alleging the counting of votes was mishandled.