Panama has released 32 of 35 detained crew members of a North Korean ship that last year tried to cross the Panama Canal with weapons smuggled aboard.