Remove branches with the same state after opposite actions like NS or EW