Fix error messages on unfoldStashR and use localFreeVarsExpr