This is for consistency with `Value::replaceUsesWithIf`. Differential Revision: https://reviews.llvm.org/D144547