N. Korea confirms dismissal of top military general