Metabolic repair through emergence of new pathways in Escherichia coli