Barcelona were denied an equalising goal against Betis when Aissa Mandi cleared the ball from well behind the goal line.