Wikipedia article about Deutsch-Jozsa algorithm says, under the section Algorithm, that:
At this point the last qubit, $$\frac{|0\rangle - |1\rangle}{\sqrt{2}}$$ may be ignored.
Does it mean that, if we can factor (written in terms of tensor product) out some bits, not involving the oracle function $U_f$, then we can always ignore when doing measurements, because it doesn't change the probability of the states?