Semiautomatic ban and magazine registry introduced in Massachusetts