A model of senescence as the piecewise loss of control over transcription