Wenger wins on Emirates as he bid farewell