lisa.analysis.tasks: Fix df_task_total_residency() for renaming tasks
Renamed PIDs currently lead to TaskIDs (or more): 1. (PID, first comm) 2. (PID, renamed comm)
Since task #1 finishes on an TASK_ACTIVE state, it will currently be artifically extended until the end of the window, leading to an artifically large runtime.