If deal terms are approved by federal judge, the Tesla CEO will need legal counsel’s OK for future public statements