Unbreak move-into-source for non-class functions
We only want to move definitions, not declarations - the code
checked the wrong thing. Additionally, it turns out that we actually
didn't set the 'isDefinition' correctly on inline class functions.
Fixes test_assistants