The Swiss government has withdrawn from negotiations with the European Union (EU) over a stalled EU-Swiss framework agreement after years of talks.