Optimizing Axiom Instantiation