The vessel was one of two taken into American custody as the Trump administration said it was executing a “deal to take all the oil.”