The production company behind the series Criminal Minds has settled a lawsuit brought by the California Civil Rights Department over claims that male crew members were subject to retaliation when they complained that they were sexually harassed by the show’s director of photography.