Why Did THUNDERBOLTS* Even Bother Including Taskmaster?

The writing was on the wall for Taskmaster. We knew what her fate in Thunderbolts* would be. So, why include her in the film?