Court throws out ban on high-capacity ammunition magazines