The Supreme Court’s decision is the latest development in the legal battle over the state’s ban on assault weapons.