Resignation of Ukrainian PM paves way for new government