After the country’s second major rail disaster in a year, Spaniards were confronting questions about the safety of their once-vaunted rail system.