Many‐electron explicitly correlated Gaussian functions. II. Ground state of the helium molecular ion He+2