M'Baku kills King T'Chaka in ritual combat and becomes King.https://www.youtube.com/watch?v=uCy_wgXOCLkIn the comics Shuri also becomes Black Panther.https://www.marvel.com/characters/shuri/in-comicsThere's established canon for this character. The director didn't "write them into a hole".