method for removing hashes whose sum of values is odd