* ipa-ref.c (ipa_remove_stmt_references): Fix references