Interactions between glide dislocations and parallel interfacial dislocations in nanoscale strained layers