Spanish to repeat general election