Added evaluation logic of swap_any instructions.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>