Senate president to quit at next election