An inmate at a prison where inspectors found high levels of self harm had hurt herself 400 times in one year, a report said.