Mechanism of control of trophoblast invasion in situ