It depends on the ship type, and how they were disabled. In most cases, they are compensated. In specialist cases such as astro trains or mines, they aren't because there's nothing that's too equivalent. But on the other hand, the ship caps on those planets can then be used for other purposes, so it's not like the total forces go down or anything.