improve precompilation coverage (#33006)
- move the place where --trace-compile outputs precompile statement to a location that catches more cases
- tweak the REPL code to be more amenable to precompilation in light of
- instead of trying to encode all the rules where the precompile emitter
fails (#28808) just try to precompile and do nothing if it fails.