KAFKA-20778: Avoid unneeded rebalance on classic consumer when replica unavailable (#22768)