Republican Roy Moore was such a flawed candidate that he couldn’t win even in deep-red Alabama.