Leandro Trossard scored the winning goal against West Ham United to help Arsenal edge closer to the title.