Dislocation-interaction-based model of strained-layer relaxation