Remove duplicate function CompileRegExp

Use string_lib:CompileRegex
Optimize, use precompiled regex for many built-in functions