The diabolical ironclad beetle is practically indestructible. Now scientists know why