Theory of dopant pairs in four-fold coordinated amorphous semiconductors