Advice on type families and non-injectivity?