Denmark’s ruling party set to lose majority in general election