The legislation, which would make it illegal to blame Poles for crimes committed by Nazi Germany, has risked rupturing ties with Israel and the United States.