Removes all values that are equal to value Complexity: O(n + k * log(n)) where k is a number of elements to remove