Japan's first female prime minister has called a snap election, setting the stage for a 12-day campaign.