Refactor: controller: drop do_lrm_query_internal()
Now that there's only one (short) caller, just move its contents there