Key reacts to Nick Smith's resignation