Brexit is the vehicle by which a fractured state has come to realise that its politics are no longer fit for purpose, says author Fintan O’Toole