Law minister advises PM to announce midterm elections