simplify: improve the logic of some implication checks
Fixes #293. * spot/tl/simplify.cc: Test implications that would yield tt or ff first. In rules of the form "if a => b, a op b = b" also check if b => a, and in this case return smallest(a,b). * tests/core/reduccmp.test: Add a test. * NEWS: Mention it.
Showing with 96 additions and 31 deletions