Collapse of electricity grid comes after ship carrying fuel that had been headed for country changes course