His block only gets orphaned if after he published his valid block, another miner publishes a block with the same block height but higher cumulative difficulty,
I didn't realise that. So what happens if a 3rd miner finds a block almost instantly, and adds it to the first miner's block, but it happens just after the 2nd miner added his block in an attempt to replace the 1st block?