Musk, SEC settle legal dustup over his Tweets