US man 'abandoned' in US jail gets $4m in compensation