He may have been actively trying to get this bill passed, but it seems at least as likely to me that he merely intended to be seen as doing so.
Right now healthcare is shelved and the far right reps lose steam, having failed to work with their own party and a President far more popular with their constituents than they are.
Honestly I don't think he care whether it passed or not. He's not playing the game we see.