The first of up to 390 prisoners are being released early in the latest attempt to ease overcrowding in Scotland's jails.