The Justice Department is investigating whether a senior officer sexually assaulted and videotaped several Algerian women while serving as the C.I.A.’s station chief in Algiers.