Rip out the rotational logic from flattener.
Rip out the rotational logic from flattener.

Rotation changes the movetree fundamentally, which shouldn't happen in
the flattener. Moreover, rotation is relatively slow and the flattener
can't cache.

Kashomon/glift-core,Kashomon/glift-core,Kashomon/glift-core