Oliveira wins rain-hit Thai MotoGP as title race tightens again