Fix inventory_ui bug where worn items would not get dropped:

because the check for is_null must be inverted, dropping the item when it is not null.
And the iteration should start at worn.size()-1 and go backwards, as worn.size() will change during this iteration.