Legal aid cuts undermine social welfare system