Welsh first minister cries before losing vote of confidence