Ex-UCLA lecturer accused of threats ruled mentally unfit