The expansion of polarization charge layers into a magnetized vacuum: Theory and computer simulations