1) you ran out of air.... you didn’t “nearly die”.... we train for out of air emergencies in OWC.... and it sounds like it went fine....as for a SS, they are recommended, but not required. Jarring experience sure, but no need to tell fishing stories here.
2) you are responsible for your safety, not your DM..... you put yourself in your situation by not thumbing the dive, even when you knew better....barring some catastrophic emergency, there is 0 excuse for running out of air.... especially when you are actively checking your SPG.
If you learn from it, this experience will make you a better diver