Compensating defects in Si-doped AlN bulk crystals