Fix replace/initialize_copy on frozen hash when other == self.