The publisher of “I Dare to Sleep Alone and I Learn to Control Myself” apologized for causing any offence but said the book aimed to help parents teach children how to protect themselves from sexual harassment.