re-implement ast_separate_app_args with clearer code and in a way that doesn't fail...