California state to pay $25M to man wrongfully imprisoned for 38 years