sparse_disp: Add option to fall back to full-res template match

In some smooth-topography cases, the initial half-resolution search was giving poor results.  Now check whether the half-res search gave an answer, fall back to full-res if not.