Ensure weights sum to 1 in particle resampling