Markov selection for constrained martingale problems