Splitting of coherent idempotents

An answer to a question of Martin Escardo.
Yeah.  But we should think about where it ought to go.  Dropping it in the `theories/` root doesn't seem right to me.  Should we have a separate directory for "theories of specific types"?