[refactor] getOrMkRootWithCorpus with custom datatype

This was (User, Either CorpusName, [CorpusId]) before, but the case of
UserMaster doesn't make sense with these parameters, so I rewrote the
function to accept only correct datatypes as inputs.
6 jobs for 169-dev-singulars-plurals in 156 minutes and 26 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Cabal
passed #12090
cabal

01:01:27

 
  Stack
passed #12091
stack

00:02:54

 
  Bench
manual #12092
allowed to fail manual
bench
 
  Test
passed #12103
test

01:32:04

failed #12102
test

failed #12093
test

00:54:36