An unprecedented flood of support from Mexico’s government this year led to a windfall for Petroleos Mexicanos debt investors.