Automatically resolve flags on deleted content

I can’t think of any reason why we would want a flag to remain unresolved after the target content has been deleted (not just hidden). Don’t delete the flag(s), just automatically resolve them, to reduce unnecessary curator workload.