Move some comparison simplifications to match.pd