FKismetFunctionContext::ResolveStatements

The function links gotos, sorts statments, and merges adjacent ones.