New Zealand votes to amend gun laws after Christchurch attack