Allow keeping finished task states on Dag run patch (#68666)