finish eliminator port
enable eliminate and eliminateMemSafe passes in native optimizer