Arrow star Katie Cassidy has reflected on her character being killed off from the show, branding the decision "political".