McCarthy loses seventh speaker bid