Nonmonotonic dependence of comb polymer relaxation on branch density in semidilute solutions of linear polymers