Fix issue 12007 - cartesianProduct does'nt work with ranges of immutables

The fix consists in making Repeat!T assignable, even if T itself is not.
Merge pull request #1895 from monarchdodra/12007

Fix issue 12007 - cartesianProduct does'nt work with ranges of immutable...