One Nation leader ordered to delete tweet and pay Greens senator’s costs, likely to total ‘many hundreds of thousands’