Subtract tool works incorrectly

Sometimes it’s easier to rebuild at least part of the model than it is to struggle with poorly created geometry. I did that here and Trim worked just fine.