After a judge accused his party of corruption, Prime Minister Pedro Sánchez of Spain has faced mounting calls to resign.