A rebound mechanism for Lomer dislocation formation in strained layer structures