Palou wins first race at IMS