The Conservatives have proposed barring foreign nationals from council housing in a bid to free homes for British families – but charities say it will not work