Don’t let easily avoidable legal mistakes prevent your startup from raising money or achieving an exit.