Add a pass for spirv-reduce that will turn a loop into a selection.
* Added a reduction pass to replace ids with ids of the same type that dominate them. * Introduce helper method for querying whether an operand type is an input id.
Creates a new tool that can be used to reduce failing testcases, similar to creduce.