Dani Olmo scored twice as Barcelona came from a goal down to earn their fourth straight LaLiga victory with a hard-fought 3-1 win over Alaves.