State Republican Party to drop out of closed primary lawsuit