Magnetofrictional Modeling of an Erupting Pseudostreamer