Modeling for precipitation loss of ring current protons by electromagnetic ion cyclotron waves