I hate it when contracts determine who lives and dies, nothing breaks the fantasy of a show more than knowing 'fourth wall' forces drastically changed the outcome. I would have much rather given her a recurring role.
Character deaths lose all their dramatic impact if you know they happened because the actress's contract was up instead of because it was the logical outcome of the plot.