Defects in the two-dimensional electron solid and implications for melting