Generic guiding principle for the prediction of metal-induced reconstructions of compound semiconductor surfaces