Numerical study for beam loss occurring for wide-ranging transverse injection painting and its mitigation scenario in the J-PARC 3-GeV RCS