A cruise ship heading to Miami changed course to the Bahamas after a US judge issued an arrest warrant for the ship due to unpaid fuel bills.