Government panel finds the foreign surveillance tool used to prevent terrorism puts civil liberties at risk.