The SNP is to consult staff over a restructure of its headquarters