First major wildfire of year in Spain burns through 4,000 hectares