Mark SMIN/SMAX/UMIN/UMAX nodes as legal and add patterns for them.