fix Issue 13574 - incorrect code for assignment to dollar in slice expression