Add `squeeze` requirements from #9271 to docs

Also clean up spacing for `permutedims` while I'm here.

cc @ivarne