Civil legal aid funding at risk