President Obama is racing against the clock to cement a massive Pacific Rim trade deal that all of his potential successors oppose, with his administration eyeing a looming fight on Capitol Hill while starting to implement as much of the complicated pact as it can.