Elon Musk’s recent firing of Twitter executives is costing them millions of dollars in severance payments in his takeover of the social network. Mr. Musk fired chief executive Parag Agrawal, chief financial officer Ned Segal, former general counsel Sean Edgett and legal affairs and policy chief Vijaya Gadde after finalizing the $44 billion buyout Thursday,…