Switch in when-expression: choice between lookupswitch and table switch (heuristically)
Tests for switchOptimization: shuffled and added sparse version