I don't think that solves anything. With critical secret pieces of hardware you will still want confirmation that they were destroyed or recover them. So even if the plane can attempt to self-destruct as much as possible, the military is still going to want to confirm the result.