API: disallow inplace setting with where and a non-np.nan value (GH7656)