Just a thought- you mentioned that some green/gray liquid ran out of the engine while the tractor was on its side. Could you tell if it was diesel fuel or engine coolant? Have you checked the coolant level since it sat? My thought is that there could be a safety switch that prevents the engine from starting if the coolant level is below a certain threshold.
I agree with some previous comments where it sounds like there may be enough fuel/oil sitting on top of the pistons to hydrolock the engine, which is what would prevent it from turning over. Also as previously stated, the cure for this is to remove the injectors and turn the engine over. I believe removing the injectors is quite a job on these newer common-rain injection Mahindra's. That may be a false statement, though.