Government condemned over its 'abject failure' to tackle homelessness