Rhode Island’s Democratic-controlled state House has advanced legislation that would ban sales of certain semiautomatic rifles