Further work on fix to https://sbprojects.statsbiblioteket.dk/jira/browse/NO-193 to preserve distinction between originally-empty attributes (which should be retained) and attributes whose value
has been set to empty (which should be removed). Includes unit tests for these cases.