Faced with dismal polls, the ruling party is putting the levers of government to its ends. It also considered using the Trump campaign consultant Cambridge Analytica.