The issue appears to be that the character does not have any spell knowledge. Once the character learns a spell from a potion of wonder, the prayer for PP restoration works. This condition on the prayer makes sense in most cases, but definitely not for mindcrafters.