Erraticity analysis of multiparticle production in π+p and K+p collisions at 250 GeV/c