Swiss voters on Sunday narrowly agreed to ease curbs on weapons exports in a referendum pitting the country’s neutral and humanitarian traditions against security concerns and the interests of a billion-dollar arms industry.