In addition, it’s obviously possible to be single, unhappy about it, but happier than you were in a bad marriage.
At the same time the headline already simplifies the article, which focuses a lot on laws about division of property after divorce, and the article itself is dodging some of the negative consequences of easier divorce. See e.g.:
Remember that if unhappy people are more likely to divorce or never marry, this has a double-whammy effect on the average happiness gap: the unmarried person pool gets unhappier because of the new person, and the "married person" pool gets happier on average because of a survivorship bias after the unhappy person was taken out. This happens even if marriage has no effect on happiness.