Modified mapping to clear out the last search pattern and return to the
original position after clearing out trailing white spaces.