By the letter of the law, the red card for the Real Madrid centre-back was the correct call, but it was a robotic decision lacking in common sense