A generalization of balanced tableaux and marriage problems with unique solutions