Company settles dispute over Puerto Rico grid work