Partially revert "Check if BP and XF changes actually change values before flushing". Dolphin code sucks too much to get optimizations. This reverts commit 5a77cae2e3434fa5cbb3710f183328e36620fa5f. Fixes issue 5459. Fixes issue 5606.