Multivalued functions in a dependent type theory