Valerie Bertinelli Shares What She Learned After 'Some of the Most Emotionally Excruciating 8 Months' of Her Life