In a precursor to the much more dramatic vote by the British in June to leave the European Union entirely, Danes last December rejected a government proposal for new laws needed to keep the country inside the European police agency.