Minn. inmate dies of self-inflicted wounds