Thanks. It appears that bit of code is generated within the <%link_results%> tag which is indeed in search-results.html. Unfortunately, source code of <%link_results%> isn't defined there. The code itself is inside this sub, wherever that may be located:
Code:
<%if link_results%><%-- Links in this category. --%>
<%link_results%>
<%endif%>