Make KBPRelationMatching pay attention to type pair restrictions