Ander Herrera was shown a red card at the end of the first half.