Unai Emery was close to substituting Alexandre Lacazette shortly before he opened the scoring in Arsenal's 2-0 win over Everton.