Topological reduction of 4D SYM to 2D σ-models