The far-right could enter the government for the first time in Spain's post-dictatorship democracy in an election that is seen as a referendum on incumbent socialist Prime Minister Pedro Sanchez.