Police took Army reservist suspected in Maine killings for evaluation after erratic behavior in July