The former Secretary of D.H.S. faced criticism for misspending funds, prioritizing her own self-promotion, and reflexively defending even the most brutal acts of the Trump Administration’s deportation efforts.