ATK wins $31 million defense contract