Spain's stock market reacts to EU-funded bank rescue