ISLAMABAD , Pakistan ( AP ) -- Opposition legislators resigned on Tuesday to undercut President Gen. Pervez Musharraf 's re-election bid , but the Pakistani leader pushed ahead with plans for an expected victory -- naming a trusted ally to head the military in his place .