Remove the function `backpermute`. It wasn't used anywhere and it only took
up space.
Only introduce `forShape` once
Some small language fixes