remove the nil check from set_inverse_instance

methods that call set_inverse_instance with a record will not have to
pay the cost of a nil check on every call