[composable API] Fix the replicate_device_id test case to avoid copy replicated models. (#105503)
We should not `replicate` deeocopy.copy(a already replicated model).
Differential Revision: [D47566678](https://our.internmc.facebook.com/intern/diff/D47566678/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/105503
Approved by: https://github.com/awgu, https://github.com/rohan-varma