Unfortunately it isn't possible to fix this. In blueprints, a BRL uses a fake entity to track what direction it is facing. Once built, that entity becomes a chest. (In Factorio, chests can't have direction.) So when you try to undo, the entity placed by the blueprint doesn't exist anymore.