On the Gibbs phase rule in the Pirogov-Sinai regime