House Speaker Mike Johnson said Matt Gaetz, whose selection as attorney general prompted backlash, resigned from Congress.