fix Issue 13076 - [dmd 2.066-b2] DList clearing of empty list
Merge pull request #2315 from 9rnsr/fix13076

[REG2.066a] Issue 13076 - [dmd 2.066-b2] DList clearing of empty list