This patch fixes a bug which is asserted when compiling for 'Maximize Speed (/O2)' using Visual Studio 2013 Update 2 RC and running a 'bench' without NDEBUG.
Reversed order of mg and eg in union to get same bench.
Merge with Score union