A bill passed by Turkey's parliament will see at least 45,000 prisoners temporarily released to limit the spread of COVID-19.