Amplitude modulation of quantum-ion-acoustic wavepackets in electron-positron-ion plasmas: Modulational instability, envelope modes, extreme wavesa)