CLN: remove unnecessary fastpath, transpose kwargs in internals
also clean up some unfortunate formatting left by black.

I _think_ we can also get rid of the transpose kwarg in putmask, separate pass.