Restore all files to DEVFLIB. Then use MOVOBJ to move each logical from DEVFLIB to DEVLLIB. (CRTDUPOBJ could also be used, but then you’d probably want to use DLTF on the original LFs anyway.) A developer’s tool such as PDM could be used to help select and move the set of LFs.
That’s the easy way.
Alternatively, restore the physicals to DEVFLIB. Then create the logicals in DEVLLIB according to their requirements.
It’d be far easier if you had your LFs in the same library as your PFs as they should be. There are very few reasons ever to create a LF in a library other than where the underlying PF is. It is sometimes useful to have a LF isolated, but it’s hard to think of justification for any significant number of LFs.