The clause refers to a past event (“1970”) → use past tense “was”.
"Has doubled" connects to the result seen “in 2012”.
So, “When the population was 3.5 billion, it has doubled it” captures both the reference point and the action.
Though this sentence is not perfect, among the given options, (C) is structurally most correct.