In Dead store elimination, we currently do not remove stores in end basic blocks (blocks with no successors), when the basic blocks contains fence.
This patch allows us to remove the stores (and leave the fence as-is) when traversing *safe to remove* stores in end basic blocks.