Pakistan has long insisted its nuclear program is safe and secure , and has sought to protect it from attack by militants by storing the warheads , detonators and missiles separately in facilities patrolled by elite troops .