Australian allrounder Marcus Stoinis has played his last One Day International, retiring from the format to focus on Twenty20 cricket.