On the collapse of weakly charged polyelectrolytes