Reform-minded prime minister takes over in Algeria