Pseudogap formation and superconductivity of Bi$_{1.74}$Pb$_{0.38}$Sr$_{1.88}$CuO$_{6+δ}$ by studies of out-of-plane resistivity in magnetic fields