West Ham United had a 90th minute goal disallowed after VAR was called for a foul on the Chelsea goalkeeper Eduoard Mendy.