Man charged with funding terrorist group pleads guilty