The directed modified profile likelihood in models with many nuisance parameters