Generation of high-charge electron beam in a subcritical-density plasma through laser pulse self-trapping