fold sliced literal sequences (e.g. from DEFs) into constants
add constant folding test for sliced unicode and bytes literals
refactor constant string slicing and guard it against platform specific unicode string length