Judge: RI high-capacity magazine ban is constitutional