The Cubans had served as part of the security detail of Nicolás Maduro, Venezuela’s ousted president.