Add a simple resolve_symbols pass.