Despite dominating for 80 minutes, Madrid’s defense crumbled in the final stages, allowing Alavés to score two quick goals and come close to equalizing.