Sangakkara takes inglorious end to career on the chin