Some tenants have been allowed to return to a historic mill in Derbyshire that was closed due to structural safety concerns.