My first bug report since Version 0.4 went live. (I've been on a Minecraft binge, lately.)
From the patch notes: "When Space Mines are fully depleted they are now automatically replaced with a depleted building. This allows directly replacing them with a new Space Mines building."
Not implemented correctly. See planet in bottom right.