Similar Items: Refinement Types for Logical Frameworks and Their Interpretation as Proof Irrelevance