Relaxation of polymers modeled by generalized Husimi cacti