The Swiss Parliament has voted by a majority of 126 to 46 to withdraw its long-standing application for membership of the European Union, ending 24 years of debate about joining the union giving backing to campaigners in Britain seeking to leave the EU.