PostgreSqlSegmentStore: fix segment clearing

Fix a typo in clearing the association between blocks and segments.