fix #871 automatically add needed imports in Move To New Unit