Britney Spears opens up about the emotional turmoil she experienced while shaving her head in her memoir, revealing her state of mind as out of my mind with grief