Football finance expert Kieran Maguire says Manchester United made money despite having to pay Jose Mourinho an estimated £18m by sacking him.