Equality Operators for Constant-weight Codewords with Applications in (Keyword) PIR