The early release of prisoners has officially been passed as a Bill at the Scottish Parliament