Fires have been extinguished aboard a container ship which collided with a tanker in the North Sea as concerns continue about the effect on wildlife of plastic pellets released from the vessel.