There was a loss for Xavi because he got 2 yellow cards against Atlhetico Madrid. This allowed Xavi to miss 3 matches. Against Las Palmas, Cadiz and Real Madrid. A disadvantage, because at the moment Barcelona is in improved form. They haven't lost after playing Villareal.
I don't know how many matches Xavi had to miss after being sent off by the referee in the match against Atletico Madrid, but of course it was a loss for him and his team too. Xavi is a coach who talks a lot to the referee, he protests a lot and it harms him rather than benefits him. He quite often gets banned from accompanying his team on the sidelines, so it's a habit or maybe something unique to him.
I'm not sure what Xavi is trying to prove to the La Liga refereeing committee with his protests at many of the refereeing decisions. He definitely has a mission and he will not stop protesting it even if there are losses that will be incurred. Of course it would be very detrimental without him on the sidelines, but he can instruct from afar.