Escape proceedure? What are you talking about? You're not describing a windshear encounter. It's just an engine-out. Experience an engine failure...fly the engine-out profile. Not rocket science.
Effra? Come on.
Minimum flap retraction altitudes are just that...minimum altitude. Nothing prevents you from retracting them at a later time. If you can't retract them, then you needn't worry any more about it. Don't worry about what you can't control.
All you need to do is fly the profile. Do everything exactly as you would any other time. Make the situation as routine as possible. Notify ATC when you have the situation in hand, request what assistance you need, and if appropriate, return for landing.
You'll already be familiar with your minimums, departure proceedure, etc, as you'll have discussed and briefed it before entering the runway for departure. What you're describing is nothing more than an engine failure after takeoff. As far as "effra," it's a point at which you execute one part of the clean up proceedure. If you need to level to accelerate, then fine, if you don't, then you have no valid reason for stopping the climb unless you're already reached your assigned altitude, or you're attempting to stay visual for a return to land. (a wise idea if you've experienced both an engine failure and a complete electrical loss, as you've described).