The Senate Judiciary Committee approved two bills that would ban devices meant to convert pistols into machine guns.