IAEA confirms N. Korea has shut reactor