A mother who abused her child so badly he had to have his legs amputated is to be released early from prison.