Issue 13661 - static array init does not call destructors

https://issues.dlang.org/show_bug.cgi?id=13661

Add internal functions to handle assignment from an array with rvalue elements.