The resolution was passed after the United States reversed itself and agreed late Friday to include a clause expressing support for a nuclear-free Middle East that indirectly criticized Israel 's secret nuclear weapons status .