PSG's Dani Alves was sent off after squaring up to the referee in their game against Lyon in Ligue 1.