Gunners responded well to setback of red card to grind out narrow win