Theresa May survives confidence vote sparked by Brexit deal defeat