Swiss voters have approved a proposal to ease strict arms export rules, granting exemptions to 36 allied nations despite strong opposition.