Phyrexian Devourer’s first ability continually checks its power as a state trigger. Once it triggers, it won’t trigger again as long as the ability is on the stack. If the ability is countered and the trigger condition is still true, it will immediately trigger again. If the ability resolves, you’ll have to sacrifice Phyrexian Devourer even if its power has been reduced to 6 or less by then.