In exchange for his plea, the state dismissed two pending felony rape charges against Gregory Gabler