Hungary to end state of emergency as NGOs cry foul