Cemented products containing waste from mineral processing and bioleaching