Fix 11877 : static opSlice not possible

Relaxes requirements for opSlice syntax rewrites
Relax opDollar context requirements

Earlier it was not possible to use opDollar in contexts where no valid scope to store temporary variable exist