Hungary limits prime minister's term to 8 years