A California man who was wrongfully convicted for killing an ex-girlfriend and her son four decades ago has reached a $21 million settlement with the city of Simi Valley, officials said.