Kyrgyzstan prime minister resigns amid election protests