Legal aid funding boost for housing