Fixes #30: Shaped solve of transposed and slice matrix does not work