California prisons have ended practice of withholding inmate release funds following lawsuit and legislative order.