Panama’s security minister says two North Korean diplomats have left the country after trying to settle the status of the crew of a ship seized in July that was found to be carrying weapons from Cuba.