[moveToFile] Fix symbols with empty declarations being treated as importable
#61084
+16
−1
declarations being treated as importable
#61084