fix a serious bug in EM for dependency parsing