Single mother wins court battle after being forced into homelessness due to housing benefit shortfall