python/retrace: Reconstruct blend state from binary blobs.