The contours of a deal that could make Republican leader Kevin McCarthy the House speaker have begun to emerge after three grueling days and 11 failed votes in a political spectacle unseen in a century. It has left Republicans in disarray and exposed anew the fragility of American democracy.