Universality in polytope phase transitions and message passing algorithms