Dark Matter and the Chemical Evolution of Irregular Galaxies