In the aftermath of a shocking general election result, spare a thought for those suddenly ousted from their jobs