Regional loss delivers blow to Spain's ruling party