ACLU takes over terror investigation