Denmark will join the European Union's defence policy after a referendum on Wednesday, a new example of a country in Europe seeking closer defense links with allies after Russia’s invasion of Ukraine.