First-principles path-integral renormalization-group method for Coulombic many-body systems