[relate] L/A: fix generation of matrix elements for L collinear to boundary of A