Homeodomain-Mediated β-Catenin-Dependent Switching Events Dictate Cell-Lineage Determination