Remove last path element only in normal Ex command