Dave will survive this. He had his opinion, put it to the test, and found that parliament for once actually followed public opinion. He has accepted it.
What I hope is that Ed and Labour voted with their conscience and not because they spotted a political opportunity to defeat the government. Whilst this sounds disingenuous, given their track record of opposing everything said by government irrespective of substance, I have my suspicions.