Atom-number enhancement by shielding atoms from losses in strontium magneto-optical traps