Activity-induced collapse and reexpansion of rigid polymers.