Why was Erling Haaland's goal for Man City against Man United allowed?

What happened
Erling Haaland gave 10-man Manchester City a stirring win over Manchester United. But should his decisive goal in the 1-0 victory have been allowed to stand?
Summary assembled by rule from the sources below