Legislators are working on a bill to erase nonviolent felonies from the records of now-upstanding citizens in hopes of helping them secure high-paying jobs.