A Detroit psychiatric hospital released him Thursday, he took his life Friday