Deconstructing Legitimacy: Viceroys, Merchants, and the Military in Late Colonial Peru