The state Senate voted late Tuesday for a so-called clean slate bill that would erase certain criminal convictions for those who don’t commit crimes for at least seven years afterward.