Fix some potential issues when blending on EFB formats without alpha. Clean up state transition tables. This commit is a cherry-pick of revision 6870c1fdd55c from master to tev_fixes. Previous commits with similar but slightly incorrect changes have been reverted with this commit.