Ideal Separation and General Theorems for Constrained Synchronization and Their Application to Small Constraint Automata