i think the main reason for keep retracting flaps in Boeing's standard procedure is for training purpose.
Have you flown an actual airplane, or is this guesswork based on simulator games?
You think cleaning up the airplane following an engine failure is only for training? You really believe this??