Oil tanker at the centre of a diplomatic dispute departs after Gibraltar court rejects US demand to seize it.