The New Zealand Parliament voted 119-1 to ban most semiautomatic weapons 26 days after the Christchurch attack.