Fix EDM statement label when edm:begin absent but edm:end present.