SAN FRANCISCO — Andrew Douglass shoved his clothes and belongings into plastic trash bags as five police officers surrounded his encampment — a drab gray tent overflowing along a bustling sidewalk in the gritty Tenderloin neighborhood, where homeless people lie sprawled on public sidewalks, sometimes in drug overdoses. Officers gave him a choice: Go to a shelter or get arrested and cited for …