Spain's Socialist leader and incumbent prime minister Pedro Sanchez has agreed to a single television debate with the lead candidates from three other main parties, following controversy over a potential debate appearance by a surging far-right party.