John Stones struck late on after the Gunners had played the whole second half with a man less.