fixing the locations of underscore vars and shadows.  also filtering out underscore names in repl-support, since that happens before well-formedness gets to complain...