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.
lgtm. ideally if you can do a typing pass on internals would be great.