fix(es/minifier): Preserve top-level declarations referenced only by direct eval (#12029)