Musk's trust will pay a $1.5 million fine under the deal, which was filed in a Washington federal court and still needs a judge's approval.