Ion-acoustic solitary waves in a dense pair-ion plasma containing degenerate electrons and positrons