Depriving the rock of all light in a black, aerated, heated container for a few weeks would be the best way to kill buttons and xenia, IMO. Some people would suggest bleaching the rock, but real live rock (either from the ocean or from being in a reef tank for a few years) is a valuable commodity, and it seems to me people are making their tanks too sterile these days.