The same principal applies in all "racing incidents"
The car on the line has right of way. Its up to the passing driver to keep clear. The convention applied to Schumacher running into Senna in Barcelona. MIchael had to keep clear even though Senna made two moves. The point is the passing driver hs to keep clear of the driver being passed.
There are cases to be made like Turkey in 2010 when Webber drove straight to and Vettel had to follow the line of the road that would eventually result in a collision - it did.
Its cases like this where additional criteria have to be considered.
What fanbiys seem to be missing is that the racing is not a straight line. Its the shortest /fasterst point between two corners. On some "straights" thats going to mean a gentle drift from left to right or vise versa because not all straights are straight.
Fair drivers will always give just enough space to the passing driving. Hamilton was fair. He played the rules, and kept the racing line. Going into the corner he dictated the line. A smart driver trying to pass would back off once he realised he's lost the corner but Maltrap didn't back off. He considered it his right to keep his foot planted.
After Hamilton apexes he is moving to the right following the racing line and Maltrap would have had enough space to stay in the game. Instead he chose a bone head t-bone option instead.
Sure Hamilton could have backed off but they were on the penultimate lap and there was a chance of retaining his place since Maltrap tyres could have let go during the next lap.
However, all the thinking in the world doesn't really matter when you're dealing with Maldonado. He should have a great big "X" on the back of his helmet and rear wing for the rest of the season. Just they do with rookie karters