Santiago Pena's resignation came after days of protests and growing pressure from opposition lawmakers, who had sought to begin impeachment proceedings against him.