Tunable magnetism and metallicity in As-doped InSe quadruple layers