Idempotents in intensional type theory (Logical Methods in Computer Science, 2017)