The head of the Parliament of Montenegro has resigned