IFLY_INDIGO
There is dilemma here because you mustn't change configuration that is definite but you should not damage your flaps. The correct and safe way of saving the flaps is to fly above the flight directors to convert speed into height and when the speed trend reverses again fly the FDs. This might get you out of wind shear itself. This is airbus recommended procedure.