Labour council accused of ‘criminalising homelessness’