Australian senator quits after learning he is ineligible due dual citizenship