update translatejimple to new expression rep

also, improved translate_stmt