Judge upholds decision giving CCSD teachers raises