A federal judge Friday declined to dismiss the ACLU Foundation of Southern California's lawsuit against the U.S. Department of Veterans Affairs over the agency's alleged failure to provide housing and services for thousands of mentally impaired veterans.