Bulk command to extend and close corners

Thanks @jacob.small

I pulled together this graph so far…

Is there a way to lengthen that slightly shorter line so it actually closes the gap?

Files in link below…