Legal aid faces critical funding crisis