handle redirection after deletion or renaming+ticket line view

renaming a card doesn't move it off the redirect list (or correct its name there), so if you rename and then delete, the redirection is to the wrong place.