On the rigidity of Riemannian–Penrose inequality for asymptotically flat 3-manifolds with corners