The head of the government's personnel office has resigned following the massive data hack that occurred on her watch.