How parliament elects successor when office of President becomes vacant