Autonomous flight termination system