[PATCH 4.9 066/101] md: fix two problems with setting the "re-add" device state.