If pirate pays out and Goat uses the money to buy back bonds, that is a breach of contract. The pass-through as described passes through as dividends.
All he would have to do is use some other money to buy back bonds slightly before passing through the payments as dividends. It's a pretty scummy thing to do, but it's not an explicit breach of the contract. It might be considered implicit breach, similar to constructive fraud.