Internal thermal boundary layer stability in phase transition modulated convection