Categories parametrized by morphism equality, in Agda