A fragment of a planet that has survived the death of its star has been discovered by astronomers in a disc of debris formed from destroyed planets, which the star ultimately consumes.