Social affairs minister resigns