search: clean up tests around description match ranges
Created by: tbliu98
Following up on comments in https://github.com/sourcegraph/sourcegraph/pull/39530
Removing one test that is unneeded (testing a scenario that will never happen), removing a couple unneeded if
checks.
Test plan
Tests pass