The opposition accused the prime minister of calling an unnecessary early vote for his own personal ambition.