Remove the first item from the list whose value is equal to x. It raises a ValueError if there is no such item.