Tesla fights to avoid the steep cost of scrapping Elon Musk’s pay package