Valverde: Barca struggled to beat defensive Alaves