Thailands beleaguered PM survives no-confidence vote