Modulating superexchange strength to achieve robust ferromagnetic couplings in two-dimensional semiconductors