The dilution peak, metallicity evolution, and dating of galaxy interactions and mergers