When updating Std, be careful that not every lemma has been upstreamed, so we need to be careful to only delete things that have already been declared.
Addresses issue reported by @fpfu at #945