Added mux support to wreduce command
Cleanups and improvements in wreduce pass
Added support for truncating of wires to wreduce pass