Acceptor-related metastable defects in compensated n-type silicon