Writedowns aren't debt. Selling eOne actually reduced Hasbro's debt, since about 125 million of it was held by eOne, and now belongs to someone else. They also used most of the proceeds from the sale to pay off other debts.
Hasbro may have hoped that they could sell eOne for more and so pay...