Do not remove an anchor without hasbang on history init

Now removes only hashbang (#!...), hash (#anchor) leaves intact