Top public defender says ‘automatic detainers’ are illegal, swelling Philly jail population