added simple cast for scalar RHS of slice assignment