Army chief Awad Ibn Auf quits a day after staging a coup that toppled veteran leader Omar al-Bashir.