More than 1,000 soldiers from an emergency response team were deployed, and officials said that many more residents were waiting for help, after more than a month’s worth of rain fell in less than 24 hours in some areas across southern and eastern Spain.