Fixes Zarel/Pokemon-Showdown-Client#278 (weather prediction bug)

Fixes weather prediction inaccuracy bug when
- When weather is changed by ability on the first turn
- When weather is changed by ability on switch after a Pokemon faints