The detour followed an order from a US judge that the ship be held as part of a lawsuit over alleged failure to pay $4.6 million in fuel bills