Replace safe_eval by simpleeval

and use decistmt from tools

issue4274
review10571003