More idempotents

The main new result is that the type of retracts of `X` is a retract of the type of partially-coherent idempotents on `X` (here called "quasi-idempotents" by analogy with "quasi-inverse"), with the retraction being the splitting construction.  The witness `I : f o f == f` can be recovered from the splitting (`f` with this datum is here called a "pre-idempotent"), but not the additional coherence `J` in a quasi-idempotent.  A counterexample to the latter is in progress.  I'm planning a second blog post to go along with this, but probably not until I have that counterexample formalized too.
That's a good question!  Probably they do.  I bet that the sequential colimit of copies of `Unit` can be used like an interval to prove funext.