But his leadership remains constrained by the same internal party divisions that hobbled his predecessor, John A. Boehner (R-Ohio), and that have prevented Republicans from making gains on a cohesive agenda.