Fix caching bug in SSAPass.