KHSD students granted second chance to replace failing grades