Add PBool support in equal and toRepr